]> dgit.raspbian.org Git - gnome-shell.git/commit
extensionPrefs: Avoid a runtime warning
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Apr 2017 15:00:10 +0000 (17:00 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Apr 2017 17:18:23 +0000 (19:18 +0200)
commit06fdf2fdc8335f7a9863c5276158f768088e36bf
tree8c4a10a545d109b1dab4d1883ea75eb0f0a50191
parent7a2068372842cf292d58a6058724c5ebded4751d
extensionPrefs: Avoid a runtime warning

Since 5b3fb024be, the main window is only shown when not launched
with a valid UUID. As GtkDialog isn't meant to be used standalone,
we currently trigger a (harmless but annoying) warning in case
the main window isn't shown; we can avoid the warning by setting
up the preference dialog manually instead of using the GtkDialog
convenience class.

https://bugzilla.gnome.org/show_bug.cgi?id=781545
js/extensionPrefs/main.js